package com.hqully.smartfumehood.common.utils;

import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * The type Query vo util.
 * @author lly
 * @since 2022-3-13
 */
public class QueryVoUtil {

    /**
     * Get pages page info.
     *
     * @deprecated
     * @param <T>      the type parameter
     * @param pageNum  the page num
     * @param pageSize the page size
     * @param list     the list
     * @return the page info
     */
    public static <T> PageInfo<T> getPages(int pageNum, int pageSize, List<T> list){
        PageInfo<T> pageInfo =new PageInfo<T>(list);
        return pageInfo;
    }


}
